package lab02.test12;

public class Rectangular extends Shape {
    double long1;
    double width;

    @Override
    double getGirth() {

        return   girth=(long1+width)*2;
    }

    @Override
    double getArea() {
       return area=long1*width;
    }
}
